Skip to main content

All Questions

2votes
1answer
131views

Path pathology: java no longer working

There is some problem with my path which disrupts my java services. The components seem to be in the proper location. $ which java /usr/bin/java $ which javac /usr/bin/javac But the version query no ...
dantopa's user avatar
3votes
2answers
5kviews

Why isn't my environment variable visible from the command line?

I'm trying to run the James SMTP server on Lion (Mac OS X 10.7.2). When I do this: sudo JAVA_HOME=/Library/Java/Home ./james-2.3.2/bin/run.sh it works fine. However, I'd like to make JAVA_HOME an ...
Robert Hume's user avatar
0votes
3answers
13kviews

Why $JAVA_HOME does not persist on a mac? [duplicate]

On my mac os 10.6.6 I'm trying to persist env variable $JAVA_HOME but it doesn't stick! $ export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Once I restart it won't be ...
simpatico's user avatar

close